module.exports = {
    /**
     * Application configuration section
     * http://pm2.keymetrics.io/docs/usage/application-declaration/
     */
    apps: [
        {
            name: "mock",
            script: "mock.js",
            env: {
                COMMON_VARIABLE: "true"
            },
            env_production: {
                NODE_ENV: "production"
            },
            exec_mode: "cluster",
        },
        {
            name: "hook",
            script: "hook.js",
            env: {
                COMMON_VARIABLE: "true"
            },
            env_production: {
                NODE_ENV: "production"
            },
            exec_mode: "cluster",
        },
    ]
};
